package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "DictionaryValue",
        title = "数据字典表",
        description = ""
)
@TableName(value = "dictionary_value")
public class DictionaryValue {

    @Schema(title = "数据字典id")
    @TableId(value = "dictionary_value_id")
    private Long valueId;

    @Schema(title = "字段id")
    @TableField(value = "dictionary_type_id")
    private Long typeId;

    @Schema(title = "字段值", description = "")
    @TableField(value = "dictionary_value")
    private String value;

    @Schema(title = "字段值介绍", description = "")
    @TableField(value = "dictionary_value_intro")
    private String intro;
}
